body, ul, h1, h2, h3, h4, h5, h6, p {
    /*取消浏览器内间距  外间距*/
    margin: 0; /*外间距*/
    padding: 0;
}

ul.nav {
    display: block;
    list-style: none;
    height: 150px;
}

.nav .first-menu {
    float: left;
    width: 60px;
    height: 40px;

    line-height: 40px;
    text-align: center;
}

.nav .first-menu > a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #585858;
    font-size: 10px;
}

.nav .first-menu > a:hover {
    font-weight: bolder;
    color: crimson;
}

.nav .second-nav {
    width: 60px;
    list-style: none;
    background-color: #f1f1f1;
}

#x1 .second-nav {
    display: block; /*不显示*/
}

.nav .second-nav li {
    width: 100%;
    height: 40px;
    line-height: 40px;
}

.nav .second-nav li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 8px;
    text-decoration: none;
}

.nav .second-nav li a:hover {
    background-color: #e2e2e2;
}

/*.x1 .second-nav{*/
/*display: block;*/
/*}*/

/*鼠标悬浮在first-menu 上，紧跟他的二级菜单要显示*/

#x2:hover + #x1 .second-nav {
    display: none;
}

/*#x2:hover >#x1 .second-nav{*/
/*display: block;*/
/*}*/

/*.first-menu:hover >.second-nav{*/
/*display: none;*/
/*}*/

/*====================搜索引擎=======================*/
.search-area {
    width: 538px;
    height: 90px;
    background-color: gray;

}

.search-form {
    width: 80%;
    height: 36px;
    /* background-color: springgreen;*/
    margin: 0 auto;
    position: relative;
    top: 20px;

}

/*单行文本框*/
.search-form .keyword {
    width: 300px;
    height: 100%;
    border: none;
    border-radius: 5px;
    padding-left: 10px;
    outline: none;
    float: left;
    margin-right: 10px;
}

.search-form .search-btn {
    display: inline-block;

    width: 38px;
    height: 38px;
    background-color: #ff9d00;
    background-image: url("../images/search.svg");
    border: none;
    border-radius: 5px;
    float: left;
}

/*=====================3. 热门商品=============================*/
/*热门商品标题*/
.hot-pro-title {
    display: block;
    width: 100%;
    height: 80px;
    background-color: #e6e6e6;
    font-weight: 200;
    line-height: 80px;
}

.pro-lists {
    width: 75%;

    height: 860px;
    /* background-color: skyblue;*/
    margin: 0 auto; /*内部盒子 居中*/
}

.pro-lists ul {
    width: 100%;
    height: 100%;
    list-style: none;
}

.pro-lists li {
    width: 240px;
    height: 400px;
    border: 1px solid #dedede;
    float: left;
    margin-right: 60px;
    margin-bottom: 40px;
}

/*商品图片*/
.pro-lists .pro-img {
    display: block;
    width: 220px;
    height: 220px;
    /*  background-color: salmon;*/
    margin-left: 10px;
    margin-top: 30px;
}

/*图片的大小与父容器 一样大*/
.pro-img img {
    width: 100%;
    height: 100%;
}

.pro-lists .pro-price {
    width: 100%;
    height: 30px;
    color: red;
    font-weight: 200;
    /* background-color: springgreen;*/
    text-align: center;
    line-height: 30px;
    font-size: 20px;
}

.pro-lists .pro-name {
    width: 100%;
    height: 20px;
    font-size: 12px;
    color: #646464;
    /* background-color: sandybrown;*/
    overflow: hidden;
    line-height: 20px;
    text-align: center;
}

.pro-lists .shop-info a {
    text-decoration: none;
    color: #797979;
}

.pro-lists .shop-info {
    width: 100%;
    height: 40px;
    /*  background-color: fuchsia;*/
    line-height: 40px;
    font-size: 10px;
    text-align: center;
}

.shop-info .shop-logo {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: chartreuse;
    margin-top: 11px;
    margin-left: 10px;
}

/*立即购买与购物车区域*/
.pro-lists .pro-operate {
    width: 100%;
    height: 27px;
    /*background-color: #ddff2f;*/

}

.pro-operate a {
    display: inline-block;
    width: 100px;
    height: 100%;
    /*  background-color: red;*/
    font-size: 10px;
    text-decoration: none;
    color: red;
    line-height: 27px;

}

.pro-operate a i {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid black;
    position: relative;
    top: 5px;
}

.pro-operate a:first-child {
    margin-left: 20px;
}

.adiv {
    width: 400px;
    height: 200px;
    background-color: skyblue;
    display: none;
}

.bdiv {
    width: 400px;
    height: 200px;
    background-color: seagreen;
    display: none;
}

.a-btn:hover .adiv {
    display: block;
}













